package pharao.client.views.game.login.events;

import pharao.client.dto.UserDTO;
import hmvc4gwt.framework.client.events.AbstractGuiEvent;

public class SetLoginUserEvent extends AbstractGuiEvent {
	
	public SetLoginUserEvent(UserDTO userDTO) {
		setPayload(userDTO);
	}

	public Class getClassOfObject() {
		return SetLoginUserEvent.class;
	}

	public UserDTO getUserDTO() {
		return (UserDTO) getPayload();
	}

}
